﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <script type="text/javascript">
        var a = 3, b = 4, c = 5;
        if ((a == 0) || (b == 0) || (c == 0)) {
            document.writeln("The product of the three is zero.");
        }
        else if ((a < 0) && (b > 0) && (c > 0)) {
            document.writeln("The product of the three is negative.");
        }
        else if ((a > 0) && (b < 0) && (c > 0)) {
            document.writeln("The product of the three is negative.");
        }
        else if ((a > 0) && (b > 0) && (c < 0)) {
            document.writeln("The product of the three is negative.");
        }
        else if ((a < 0) && (b > 0) && (c > 0)) {
            document.writeln("The product of the three is negative.");
        }
        else if ((a < 0) && (b < 0) && (c < 0)) {
            document.writeln("The product of the three is negative.");
        }
        else if ((a < 0) && (b < 0) && (c > 0)) {
            document.writeln("The product of the three is positive.");
        }
        else if ((a > 0) && (b < 0) && (c < 0)) {
            document.writeln("The product of the three is positive.");
        }
        else if ((a < 0) && (b > 0) && (c < 0)) {
            document.writeln("The product of the three is positive.");
        }
        else if ((a > 0) && (b > 0) && (c > 0)) {
            document.writeln("The product of the three is positive.");
        }
    </script>
</body>
</html>
